package com.yunji.hushuang.decorater;

/**
 * @author hushuang
 * @since 2019/10/31
 */
public class WithSugar extends CoffeeDecorator {

    public WithSugar(ICoffee coffee) {
        super(coffee);
    }

    @Override
    public int getCost() {
        return super.getCost();
    }

    @Override
    public String getIngredients() {
        return super.getIngredients() + ", Sugar";
    }
}
